<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<h:head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<title>Autenticação | Delivery</title>
	<h:outputStylesheet name="reset.css" library="css" />
	<h:outputStylesheet name="text.css" library="css" />
	<h:outputStylesheet name="grid.css" library="css" />
	<h:outputStylesheet name="layout.css" library="css" />
	<h:outputStylesheet name="nav.css" library="css" />
	<h:outputStylesheet name="staff.css" library="css" />
	<!--[if IE 6]><h:outputStylesheet name="ie6.css" library="css" /><![endif]-->
	<!--[if IE 7]><h:outputStylesheet name="ie.css" library="css" /><![endif]-->
	<h:outputScript name="jquery-1.6.4.min.js" library="js" />
</h:head>
<h:body>
	<div class="container_12">
		<div id="top">
			<ui:insert name="top">
				<div class="grid_12 header-repeat">
					<div id="branding">
						<div class="floatleft">
							<!--<img src="img/logo.png" alt="Logo" />-->
						</div>
						<div class="clear"></div>
					</div>
				</div>
				<div class="clear"></div>
			</ui:insert>
		</div>
		<div id="content" class="center_content form_login">
			<ui:insert name="content">
				<div class="grid_10">
					<div class="box round first">
						<h2>Autenticação</h2>
						<h:form>
							<span class="error"><h:outputLabel value="error"
									rendered="" /></span>
							<h:outputLabel value="Usuário" />
							<div class="clear"></div>
							<h:inputText id="usuario" value="#{usuarioBean.usuario}"
								required="true" requiredMessage="Informe o usuário"
								class="grande" />
							<span class="error"><h:message for="usuario" /></span>
							<div class="clear"></div>

							<h:outputLabel value="Senha" />
							<div class="clear"></div>
							<h:inputSecret id="senha" value="#{usuarioBean.senha}"
								required="true" requiredMessage="Informe a senha" class="grande" />
							<span class="error"><h:message for="senha" /></span>
							<div class="clear"></div>
							<h:commandLink action="#{usuarioBean.login}"
								class="btn-icon btn-grey btn-check">
								<span></span>Entrar</h:commandLink>
						</h:form>
					</div>
				</div>
			</ui:insert>
		</div>
		<div id="bottom">
			<ui:insert name="bottom"></ui:insert>
		</div>
	</div>
	<div class="clear"></div>
	<div id="site_info">
		<p>
			Copyright <a href="#">Delivery Admin</a>. All Rights Reserved.
		</p>
	</div>
</h:body>
</html>
